Log errors if file cannot be loaded.