box-search working, saving to file