Lookup File by file_id using index_of with a temporary ProjectFile.
The file ID to lookup
File object, or null if not found