automatically make file in test_search