code: public Sheet pack(ArrayList files, int width, int height, int border, File out) throws IOException {
  		ArrayList images = new ArrayList();
  		
  		try {
  			for (int i=0;i<files.size();i++) {
  				File file = (File) files.get(i);
  				Sprite sprite = new Sprite(file.getName(), ImageIO.read(file));
  				
  				images.add(sprite);
  			}
  		} catch (Exception e) {
  			e.printStackTrace();
  		}
  		
  		return packImages(images, width, height, border, out);
  	}
docs: Pack the images provided
  
  @param files The list of file objects pointing at the images to be packed
  @param width The width of the sheet to be generated
  @param height The height of the sheet to be generated
  @param border The border between sprites
  @param out The file to write out to
  @return The generated sprite sheet
  @throws IOException Indicates a failure to write out files