aggregate data from files