add command-line filename flag