added functionality to specify a different file format via the command line