Catch invalid file ID