Util and Core file, error handling