CFY-1000 moved file copying to provider code