public void body()
    {
        System.out.println();
        System.out.println(super.get_name() + ".body() :%%%% Start ...");

        // create a temp array
        fieldArray_ = new String[MAX_FIELD];

        // get the resource id
        if (resID_ < 0)
        {
            System.out.println(super.get_name() +
                    ".body(): Error - invalid resource name: " + resName_);
            return;
        }

        boolean success = false;

        // read the gz file
        if (fileName_.endsWith(".gz")) {
            success = readGZIPFile(fileName_);
        }
        // read the zip file
        else if (fileName_.endsWith(".zip")) {
            success = readZipFile(fileName_);
        }
        // read from uncompressed file as well
        else {
            success = readFile(fileName_);
        }

        // if all the gridlets have been submitted
        if (success == true) {
            collectGridlet();
        }
        else
        {
            System.out.println(super.get_name() +
                    ".body(): Error - unable to parse from a file.");
        }

        // shut down all the entities, including GridStatistics entity since
        // we used it to record certain events.
        shutdownGridStatisticsEntity();
        shutdownUserEntity();
        terminateIOEntities();

        System.out.println(super.get_name() + ".body() : %%%% Exit ...");
    }