Uploading files now works, added context info so that it saves to
external directory and therefore picks up the changes correctly.