Updated documentation example
Added file methods to scanner