check files in alphabetical order