code: public Class compile(File file) throws IOException {
          GroovyClassLoader loader = getGroovyClassLoader();
          Class groovyClass = loader.parseClass(file);
          return groovyClass;
      }
docs: Compiles groovy class from a file
  
  @param file
  @return
  @throws java.io.IOException