Support redirection to file
Fix BRK-B bug
Get rid of stale code
Bug
Bug in comparison