changed the order in which we process the files