remove files into mains