(1) Renamed options to opts. (2) Added validation for filesize, default 5MB. (3) Fixed issue where `processed` and `staging` file were being deleted in the workflow when they needed to be.