We showed you enough tricks, so that you should be able to work it out by hacking on your own. Just add alot of print statements to debug what are your dirs, files and pathnames, and you will eventually get it they way you want. Just pay attention to detail.