removed stream from publish interface
supported to load file/url on the fly