get rid of the old kludgy get_infile functions and use commandline flags instead