added support for auto descramble of files.