Adding improved filed comparing functions

We were facing file compare eating lot of system memory
File should read by in buffers, and compared ignoring
unwanted characters.