New FileScanner API. No tests, no comments (yet).