Added the possibility to import templates and queries from .txt files