# Functions

CreateDir creates a dir for dirPath.
CreateFile creates a file.
Exists checks whether the given file exists.
IsDirEmpty returns true if the dir at dirPath is empty.
ListSubdirs returns the subdirectories.
OpenFile opens an existing file.
Remove removes the file.
RemoveAll removes all files/directories present in the path including the path itself.
SyncDir fsyncs the given dir.
Truncate truncates the file to a given size and also reset the IO offset.
Write writes the given content to the file.