added changes for getfile
upload changes