removed dead code
added new options --sort-files