BeforeyoucanopenaDfile,you'llneedtofigureoutwhatkindoffiletheDfileextensionrefersto.

Please segment the words.
Before you can open a D file, you'll need to figure out what kind of file the D file extension refers to.