gzipped inputs and publicdir for file upload