last_file_problem function

Get last file problem