added function to write journal to file, added remove feature
added doc for remove feature