Working upload and download of files