added creation of folder, added generic method to gzip and dictionaries