Open a file/variable via command line argument