Continue search from the beginning of file when we reach the end (or end of file when we reach the beginning of file).