removed unecessary printlns
file writer test