Download function
I haveforgotten to add the extension for the last packet in splitter