Check that the results contain local files first
Toggle hiding of search categories when headers are clicked.