I am basically seeing the same issue [here](https://stackoverflow.com/questions/79213163/file-system-access-api-only-working-for-txt-file-extension). I am having an issue if the file has a .cfg extension.