FIX: * fs.FileMode for object type is 0 for regular files, so an additional parameter is needed.
ADDED: * paths.SearchFsPaths, which lets a user provide a fairly flexible function for searching files/directories/etc.