Added savePasswordToFile() and getPasswordFromFile()