implemnting force-chunking in file uploads