Updated password generation and fixed the output file.