Remove unnecessary file copying.