Allow graph.py to take cmdline file