added support for uncompressing compressed files
credits++