Remove deprecated file `--config` support. Fixes #3271

Remove deprecated file `--config` support. Fixes #3271