fixed up file handling for unretrievable files