some ways of uploading files, not finished having issues