Add put command and upload(fileName) function