loading data files implementation #2