Have you actually tried importing them? File -> Import -> MD Markdown (Directory) is designed to take your .md notes in a folder structure and apply that to the notebook->subnotebook->note structure in Joplin.