Removing file extension from CCD files