dk is an invalid external file type