  
  def FileReader(fn, debug=False):
    if fn.startswith("http://") or fn.startswith("https://"):
      return URLFile(fn, debug=debug)
    return open(fn, "rb")
 
</s> remove try:
  from xx.chffr.lib.filereader import FileReader
except ImportError:
  from tools.lib.filereader import FileReader
 </s> add from tools.lib.filereader import FileReader </s> remove try:
  from xx.chffr.lib.filereader import FileReader
except ImportError:
  from tools.lib.filereader import FileReader
 </s> add from tools.lib.filereader import FileReader
  if fn.startswith("cd:/"):
    fn.replace("cd:/", DATA_PREFIX)
  
  def FileReader(fn, debug=False):
  if fn.startswith("cd:/"):
    fn.replace("cd:/", DATA_PREFIX)
    if fn.startswith("http://") or fn.startswith("https://"):
      return URLFile(fn, debug=debug)
    return open(fn, "rb")
keep add keep keep keep
 eliminate xx filereader (#23514)

* eliminate xx filereader

* framereader cleanup 
tools/lib/filereader.py