added new methods to abstractIO and commandLine IO