Got file upload working the way I wanted