added gitignore for .dir and .dat files