Scanners, including Burp Suite scanner, have algorithms to detect sensible paths and commons files; actually, common files could be used as banner grabbing to detect potential vulnerabilities.
If a sensible file is detected, it will be shown in the scanner results as an issue, as demonstrated in the following screenshot: