enable dat reader to receive inputfile from command line