added new method get data from file, rename polygon into caleg