Optional
isThe function to check if a path is a file.
If not provided, isFileByExt is used. This function checks if the last part of the path contains a period.
Optional
readThe function to read a directory.
Optional
readThe function to read a file.
Options for loading a directory tree.