remove unrequired files.