check_file_exists() had an extra parameter added with a default, which was the wrong default for era_restore.