loading data files only if they changed