Changed File Access Mode
Added core nLog Functions