refactor all file and classpath