import chn.util.*;

public class WriteDataExample
{
    public static void main(String[] args)
    {
        String fileName = "data2.txt";
        FileOutput outfile = new FileOutput(fileName);

        outfile.println("Here are the first five counting numbers:");
        for (int i=1; i<=5; i++)
        {
            outfile.println(i);
        }
        outfile.close();
    }
}
