got file upload to work properly