ddd scala file