patch updated to recognize .di extension