pub fn housekeeping(directory: &Path) -> Result<(), ShackleError>