LPS-36550 Move to kernel
LPS-36491 - Fix, using file instead of byte array
LPS-36491 Source formatting and add extra information to the logs
LPS-36491 Refactor to reuse same existing logic
LPS-36491 Refactor to reuse logic