code: static void createFileFromResource(String resource, Resource file) throws IOException {
  	createFileFromResource(resource, file, null);
      }
docs: creates a File and his content froma a resurce
  
  @param resource
  @param file
  @throws IOException