Parser that takes file input