last_file_subprob function

Get last file subproblem