code: function _getFileName(name) {
    if (typeof name === 'undefined' || name.trim() === '') {
      return config.get('env.basename');
    }
  
    return `${config.get('env.basename')}.${name}`;
  }
docs: Return the default env file name, with optional name appended