title: How do I get the full path for a filename command-line argument?
body: <p>I've found lots of libraries to help with parsing command-line arguments, but none of them seem to deal with handling filenames. If I receive something like "../foo" on the command line, how do I figure out the full path to the file?</p>