File encryption/decryption is now functioning with files up to about 200Mb. Need to solve this for all file sizes in the future.