Now encrypted files are stored on Dropbox. Refactored encryption code into new method