Modify the script to handle files in chunks, reducing memory usage and allowing encryption of large files.
Modify the script to handle files in chunks, reducing memory usage and allowing encryption of large files.