Added write to file for manual credential entry.