$this->lineLength fixes

fixed typo/mixup (fileLength instead of lineLength) and replaced
hardcoded 4096 with variable.
updated demo.php

updated demo to reflect method name changes, show more details about
class capabilities.