parses Textual log files and returns JavaScript objects