public ModuleSearchServerImpl() throws RemoteException, IOException{
      lecturerList = new ArrayList<String>();
      moduleList = new ArrayList<String>();
      titleList = new ArrayList<String>();

      File lecturerInfo = new File("modulesearchrmi/lecturer.txt");
      File moduleInfo = new File("modulesearchrmi/module.txt");

      BufferedReader lectReader = new BufferedReader(new FileReader(lecturerInfo));
      while (lectReader.ready()) {
        String line = lectReader.readLine();
        String[] value = line.split(":", 2);
        titleList.add(value[0]);
        lecturerList.add(value[1]);
      }
      lectReader.close();

      BufferedReader modReader = new BufferedReader(new FileReader(moduleInfo));
      while (modReader.ready()) {
        String line = modReader.readLine();
        String[] value = line.split(":", 2);
        moduleList.add(value[0]);
      }
      modReader.close();
    }