implemented adding files, synonyms and categories on word editing; changed form_rules for textExamples