Empty lines in keyfile are removed