Allow absolute paths to be passed to the parser

There are use cases where it is very convenient to pass an absolute file path to the parser, though currently the code appends any input/output string to the end of the current working directory. This results in the generation of the incorrect file path that prevents absolute paths from being passed.

This will resolve #22.