Added factory methods for file-based stream, and cleaned up some warnings.
Added factory methods for file-based stream, and cleaned up some warnings.

AlanQuatermain/aqtoolkit,NSOiO/aqtoolkit,NSOiO/aqtoolkit,AlanQuatermain/aqtoolkit,AlanQuatermain/aqtoolkit