added error msg for files with errors in status