static function create_index(&$fh) { $index = new CFFStringIndex(); $index->setup($fh); return $index; }