Added file compression and Tests for it