The problem I'm having right now is that I need to either pass a filename/path that's relative to the loocation of the executable or an absolute path. How do apps allow you to pass a filename that's relative to $PWD for the user themself?
EDIT | Scrap that, getcwd() seems to help