Find the file where pattern matches