add dt, removes trailing white space from file. Needs to implement backup of file first.