A python script to implement the auto indexing feature (mod_autoindex in Apache)