Using better file creation syntax + corrected order of player kill event