added Part1 - write to file task