file operation split to class and add time chart