Auth from file (still through put plaintext) and write (errors)