Writinf files for first time in master