Use log.Fatalln() over log.Fatal().

Use err instead of e.