remove not needed files and replaced files