getmetadata() needs fileid