Refine FileList and Replacer class, add class Main as entry.