Trying to fix the password writer not writing anything to the file.
More of me trying to fix the writer only printing spaces.