Don't use iterkeys() or iteritems()
Messing about w/formatting
Tidying some tabs and docstrings
File upload form parameters are now dynamic

We're now extracting the file upload form parameters from the
retrieved "params" dict. This is a bit less fragile, as the fields were
hard-coded before.