Fixed the parser, it now actually works and logs data to configurable paths/files.