Added PrintErrorLog function to ProgramIO files