add extenstions.
add extionsions.
add compress & decompress function