public function get_file_type() { return $this->file_type === null ? \MIME::for_filename($this->path) : $this->file_type; }