GetEmitOutput And Testfiles

```TypeScript
function getEmitOutputWriter(fileName: string, data: string, writeByteOrderMark: boolean) {
    emitOutput.outputFiles.push({
        name: fileName,
        writeByteOrderMark: writeByteOrderMark,
        text: data
    });
}
writer = getEmitOutputWriter;
```