open( NEWIMG, "+>$thumbName" ) or croak "Can't open new imagefile: ($thumbName) $! \n";