remove redundant check from EncryptFileActivity