Added two different methods to read a file, two different methos to write in a file and watch methos to see the changes in the file.