Adds file encryption to scope