Added class logger.
Now correctly untars files.