reopen file each time it's copied