Improve error handling, add error string to each individual file item.