updated code including upload and download of files and inode updation