file logging basically works, but there is a bug if the file starts with no games in it. will fix on next commit