changed keywords to topics; fix bug in summary file generation