let rec force = function | Dir(_, _, st, _, contents) -> let _ = !*st in List.iter force !*contents | File(_, _, st, _) -> ignore !*st | Nothing | Error _ -> ()