Text file fix