or add a deleteAll to directory?