allaws the encrypting of files

add the ability to encrypt a file