remove unnecessary file copying