Open input and output streams given providers and small config