if directory, not file, exists