stripped off trailing spaces.
Changed order of
    output.puts("  UnityBegin();")
and
    output.puts("  Unity.TestFile = \"#{filename}\";")
because UnityBegin clears whole Unity structure and TestFile pointer too.