io reader instead files