I use the Kindle mainly for research which involves a lot of pdfs. As the non-existing file management of the Kindle is frustrating I looked into creating a small script that replicates my directory structure as collections. As this thread was a good starting point it is only fair to share the result. You can find the python script
here, feel free to use it however you want.