code: public static void injectInstanceImports(Instance instance, File templateFile, File out)
  	throws IOException {
  		injectInstanceImports( instance, templateFile.getAbsolutePath(), out );
  	}
docs: Reads the import values of the instances and injects them into the template file.
  <p>
  See test resources to see the associated way to write templates
  </p>
  
  @param instance the instance whose imports must be injected
  @param templateFile the template file
  @param out the file to write into
  @throws IOException if something went wrong