code: def _env_from_file(path):
      if path.lower().endswith(".gpg"):
          env_str = _try_read_gpg(path)
      else:
          env_str = util.try_read(path)
      if not env_str:
          log.warning(
              "cannot read remote env from %s - ignorning", path
          )
          return {}
      return _decode_env(env_str)
  
imports: import logging
  import os
  import subprocess
  import sys
  from guild import config
  from guild import file_util
  from guild import log
  from guild import remote
  from guild import util
  from guild import var
label_desc: Use image node_id 14 for calling a global function with example usage: _env_from_file(path) and returns: _decode_env, dict