Text file clean up