handle error conditions (e.g. put, rm without parameters => panic: runtime error
handle error conditions (e.g. put, rm without parameters => panic: runtime error