'Cache an image file.
:param image_id: Image ID
:param image_file: Image file to cache
:returns: True if image file was cached, False otherwise'

def cache_image_file(self, image_id, image_file):

    CHUNKSIZE = (64 * units.Mi)
    return self.cache_image_iter(image_id, utils.chunkiter(image_file, CHUNKSIZE))
