File is copied before corruption