Store and retrieve synchronously, primitive and objects javascript values in/from a plain text file