Find a file synchronously within a directory.