Added ability to generate CCD images from a tar archive