iOS file encryption refactor
Refactor file encryptor