pySim-shell: Adds support for DEACTIVATE FILE + ACTIVATE FILE

Change-Id: I22207dde20f991b0a22dea8f5dd695a0ec99da33
diff --git a/pySim-shell.py b/pySim-shell.py
index cfba73f..b2ccb9a 100755
--- a/pySim-shell.py
+++ b/pySim-shell.py
@@ -403,6 +403,15 @@
 		(data, sw) = self._cmd.card._scc.enable_chv(opts.pin_nr, h2b(pin))
 		self._cmd.poutput("CHV enable successful")
 
+	def do_deactivate_file(self, opts):
+		"""Deactivate the current EF"""
+		fid = self._cmd.rs.selected_file.fid
+		(data, sw) = self._cmd.card._scc.deactivate_file(fid)
+
+	def do_activate_file(self, opts):
+		"""Activate the current EF"""
+		fid = self._cmd.rs.selected_file.fid
+		(data, sw) = self._cmd.card._scc.activate_file(fid)
 
 def parse_options():