simplify getting the file name