fileType = type;  try { inputFile = new File(fileName); fileInputStream = new java.io.FileInputStream (inputFile); inputStream = new ObjectInputStream (fileInputStream); } catch(Throwable e) { ERROR ("Could not open file " + fileName + " for reading."); }
this.fileType = type; this.fileName = fileName; openFile();
    public FileReader (String fileName, Class type)    {        fileType = type;        try        {            inputFile = new File(fileName);            fileInputStream = new java.io.FileInputStream (inputFile);            inputStream = new ObjectInputStream (fileInputStream);        }        catch(Throwable e)        {            ERROR ("Could not open file " + fileName + " for reading.");        }    }