fix(parser) : parsing and writing file