Stop looking in other directories when file not found.