only ignore json
add directories