Implemented task - Read from console write to file