writeIn is a method that create a PrintWritter, correctly handling closing, for path. 
When I get the PrintWritter, I use it to write the current date time into the file. 
The goal is just to know when the node configs where written for the last time.