modified decompressFiles method