Fixed multiple files so an unchanged previous search is not saved again in the user file