@manishrjain UltiSnips uses the filetype setting to filter snippets. If you open a .dat file, does :set filetype return dat?
If that is the case, than it is likely that UltiSnips ftdetect script is not sourced. The most likely source for that is a wrongly installed plugin manager