Add tf-idf to SFileFilter

doc_id is unused, better to remove.