collect_history
collect_history(path, &error, &tse_tree);
collect_history(filename, &error, &tse_tree);
collect_history(dirname, errorp, dir_tree);
static void collect_history(const char *filename, int *errorp,