Add the functionality to save search queries file.