Support for parsing file-like objects. #9