Introduced new option to use text similarity instead of co-occurrences
Improved file handling