require files in the right order