Ensure that file list ends with the word file