free query_filename