working compression and deflation and injection with local file.