get_datafile accepts multiple inputs