close #23: handling of encrypted files

Users can now input the user password to decrypt the document