a code segment using twisted to serve local directory  for web browsing