-val input_file: string -> string (** read all the contents of file to string *)
-val output_file: string -> string -> unit (** write string to file *)
+ (** check whether no objects are defined below a given baseuri *)
+val is_empty: string -> bool
+
+(** removes a file if it exists *)
+val safe_remove: string -> unit
+(** removes a dir if it exists and is empty *)
+val safe_rmdir: string -> unit
+(** checks if the dir is empty *)
+val is_dir_empty: string -> bool
+(** removes a directory and recursively the father (if empty) *)
+val rmdir_descend: string -> unit