fix(game): Fix file parsing bug for custom files