Before search file.