classify src file by dirs