File scripts and related settings (eg. path.scripts) were deprecated in 5.5 and removed in 6.0+.
I think we will want to document this at https://www.elastic.co/guide/en/elasticsearch/reference/master/breaking_60_scripting_changes.html and/or https://www.elastic.co/guide/en/elasticsearch/reference/master/breaking_60_settings_changes.html.
We will also want to remove references to file scripts from various parts of the scripting documentation