Return 404 when fileid is not in the database