Changed Reader class
Added method to clean junk chars from the buffer