Method resolve()
Resolves the file using the given path components separated by ‘/’.
Path components may include /, ~ (user home directory), .. (parent directory), or . (ignored).
If the given path starts from / or ~, the current file’s path is ignored.
Note that resolve() does not check file existence. It simply returns a File with the specified subpath.
Example:
local root = localFileSystem:get("/")
local system = root:resolve("System")
local systemLibrary = root:resolve("System/Library")
local anotherRoot = systemLibrary:resolve("../..")
local users = system:resolve("/Users")