Overwriting original with corrected file