File reading & writing have benn added