put files one chunk at a time