change name to file name at Measure class