Since you need to conditionally assign name1 and name2, I think it is better to avoid using ternary assignments. Instead, just wrap these two assignments with ``if (brackets.platform === "win") { }`` and assign ``name1 = file1.name`` and ``name2 = file2.name`` in their declaration. This way we can save the unnecessary assignments on Mac.