docs: def get_environment(name):
      """Returns a JSON environment file as a dictionary"""
      if name == "_default":
          return env_from_template(name)
      filename = os.path.join("environments", name + ".json")
      try:
          with open(filename) as f:
              try:
                  return json.loads(f.read())
              except ValueError as e:
                  msg = 'LittleChef found the following error in'
                  msg += ' "{0}":\n                {1}'.format(filename, str(e))
                  abort(msg)
      except IOError:
          raise FileNotFoundError('File {0} not found'.format(filename))