adding code to read passwords file