Add better handling of errors in files

Merge request reports

Loading