added file IO to SimpUtil