Refactoring of a big amount of files