add file streaming for building and add a sample data