make multi part file work