change inputstream in configio to file