new_contents: import os
  
  from .adf import make_adf
  from behave import step
  from tempfile import NamedTemporaryFile
  
  
  @step(u'I have 1 prepared archive')
  def one_archive(context):
      d = os.path.join(context.environ['HOME'], ".longaccess/archives")
      os.makedirs(d)
      context.archive = NamedTemporaryFile(dir=d, suffix='.adf')
      context.archive.write(make_adf())
  
subject: add feature step to create an archive