function decrypt files should only use in debug mode