fails gracefully with no file name