applying multiple encryption key fetch formula and new logger for porticor - new files