Edit sample.txt