Extract form data (files, textarea data, etc.) in python functions