fix this -> self
only check for .dat/ in exists check