Add bson file as input/output stream