Creating code to auto generate posts from pdfs

Hey all, I have several hundred pdf’s that I need to put up as seperate posts on my clients website, and I was wondering if anyone could point me in the direction of the code I would need (or need to write) in order to do this automatically. Preferably, the code would be able to take a folder or zip file, and generate posts from the pdf’s located in the folder and subfolders. It would create a category hierarchy based on the the names of the folders, and post titles based on the titles of the pdf’s. Each post would contain a link to the pdf and an embedded version of the pdf using the google docs viewer code. An exmple post can be seen here. If it could also auto generate a menu that would be great, but it isn’t as vital. So, any thoughts?