A .ddf file is a data directive file and is used when building the Sharepoint solution bundle specifying the source files and their destination locations. The important thing for someone to understand is that the .ddf file will be passed as a parameter to the MAKECAB utility to orchestrate construction of the Sharepoint solution fiel.