Add `FileManager.getAllFiles()` and use it in place of `walk()`, fix bug