working on adding some from file cert and key loading functions