Removing debug printing,  updating logic on EOF check in readBytes.