Use safe_load_all to detect errors in multi-document files