Renames variable to reduce shadowing of builtins
Adds contextmanager for an encrypted file-like
PEP8