method metrics loading from file