Added the ability to specify i file as payload
Error handling parsing arguments, Fixes #102