:ec (new File('C:/test.txt'))
:ec (new File('C:/test.txt')).write('テスト', '>', null, 'SHIFT_JIS')