adding more mehtods and file read