Got the file uploads working. Needs full QA.