fixed file append mode a+
fixed file \n