parser: able do define posdata file

just a small fix, might be useful. need to add proper error messages though, right now it just segfaults on unexisting file