[FileBackend] Added some basic directory functions.