remove redundant files to fit into current environment.