To append to the file, just change "+<" to ">>" as davidrw suggested.
In reply to Re^2: Add Contents At last in a File by AReed in thread Add Contents At last in a File by swift