added saveTextFile method