Notes to file

Added writing notes to file