Added support for plain file auth