Replaced deprecated code.
Added file selection and encryption + saving features.