made fetching files by type more efficient by adding the file type in the query and adding the option to import a single file by file id