make input and output stream importable