updated key files
write a global error/warning file