added reading file