clean up txt files in Matlab