Deletes the file or directory. If the root is a directory then all its content is deleted recursively.
Input:
root (string): Path to file or root directory to delete.
varargin[Empty] (boolean): Delete directory only if it is.
varargin[Root] (boolean): Also delete root directory.
Output: