code: def open_scubadir_file(self, name, mode):
          '''Opens a file in the 'scubadir'
  
          This file will automatically be bind-mounted into the container,
          at a path given by the 'container_path' property on the returned file object.
          '''
          path = os.path.join(self.__scubadir_hostpath, name)
          assert not os.path.exists(path)
  
          # Make any directories required
          mkdir_p(os.path.dirname(path))
  
          f = File(path, mode)
          f.container_path = os.path.join(self.__scubadir_contpath, name)
          return f open_scubadir_file(self, name, mode):
          '''Opens a file in the 'scubadir'
  
          This file will automatically be bind-mounted into the container,
          at a path given by the 'container_path' property on the returned file object.
          '''
          path = os.path.join(self.__scubadir_hostpath, name)
          assert not os.path.exists(path)
  
          # Make any directories required
          mkdir_p(os.path.dirname(path))
  
          f = File(path, mode)
          f.container_path = os.path.join(self.__scubadir_contpath, name)
          return f
docs: Opens a file in the 'scubadir'
  
          This file will automatically be bind-mounted into the container,
          at a path given by the 'container_path' property on the returned file object.