file upload workaround