Detour based sniffer for flat files and named pipes for Windows