add map to search last search pattern in files.