add IO utils implementation with validation