Fixed file copy.