code: def serve_file(self, load):
          '''
          Serve up a chunk of a file
          '''
          ret = {'data': '',
                 'dest': ''}
  
          if 'env' in load:
              # "env" is not supported; Use "saltenv".
              load.pop('env')
  
          if 'path' not in load or 'loc' not in load or 'saltenv' not in load:
              return ret
          if not isinstance(load['saltenv'], six.string_types):
              load['saltenv'] = six.text_type(load['saltenv'])
  
          fnd = self.find_file(load['path'], load['saltenv'])
          if not fnd.get('back'):
              return ret
          fstr = '{0}.serve_file'.format(fnd['back'])
          if fstr in self.servers:
              return self.servers[fstr](load, fnd)
          return ref serve_file(self, load):
          '''
          Serve up a chunk of a file
          '''
          ret = {'data': '',
                 'dest': ''}
  
          if 'env' in load:
              # "env" is not supported; Use "saltenv".
              load.pop('env')
  
          if 'path' not in load or 'loc' not in load or 'saltenv' not in load:
              return ret
          if not isinstance(load['saltenv'], six.string_types):
              load['saltenv'] = six.text_type(load['saltenv'])
  
          fnd = self.find_file(load['path'], load['saltenv'])
          if not fnd.get('back'):
              return ret
          fstr = '{0}.serve_file'.format(fnd['back'])
          if fstr in self.servers:
              return self.servers[fstr](load, fnd)
          return ret
docs: Serve up a chunk of a file