Fixed Bug: 1042112

I have tried to incorporate the feature mentioned on bugzilla about taking password argument from a file . 
Yes Dave, I am having troubles testing the files. I already emailed you the issue . Sorry bout the regular mistakes. I hope this will be up as the solution.