code: def get_item_data(self, session, item, byte_range=None):
          
  
          # Parse byte range
          if byte_range is not None:
              begin, end = parse_byte_range(byte_range, max_byte=item.file_size)
          else:
              begin, end = 0, item.file_size
  
          # Open the file
          fp = open(item.file_name, "rb+")
  
          if not begin:
              return fp, item.file_type, item.file_size
          elif begin and not end:
              fp.seek(begin)
              return fp, item.file_type, item.file_size
          elif begin and end:
              fp.seek(begin)
  
              data = fp.read(end - begin)
              result = cStringIO.StringIO(data)
  
              return result, item.file_type, item.file_size
docs: Return a file pointer to the item file. Assumes `item.file_name` points
          to the file on disk.