Extracted the deobfuscation process, created 'deobfuscate()' method to enable deobfuscation from an API, not just an input file and stdin.