I want to output a string to the end of an existing text file. I've tried using FileWriter but it simply overwrites the old file and saves only the new string. I tried using RandomAccessFile but had some problems with it. Whenever RandomAccessFile printed my string to the file it put a space in between every character. I also couln't figure out how to return a string to a new line using RandomAccessFile. All help is appreciated.