stubbing the coping of files