completed first version of multi-directory multi-file & option decryption code, untested