chnages in file manipulation