Fixed Bug: 1042112

I have tried to incorporate the feature mentioned on bugzilla about taking password argument from a file .