Added debug method to IOUtil, use this instead of print