Add a contextmanager function to DataMover called open which supports the python 'with' function