Travel up through directories when looking for the config files