code: public boolean removeByName(String name) {
      boolean found = false;
      Iterator<CompilerInput> iter = inputs.iterator();
      while (iter.hasNext()) {
        CompilerInput file = iter.next();
        if (name.equals(file.getName())) {
          iter.remove();
          file.setModule(null);
          found = true;
        }
      }
      return found;
    }
docs: Removes any input with the given name. Returns whether any were removed.