Powershell, 56 Bytes ===== gc $args|%{($a=[char[]]$_)-join" ";[int[]]$a+10-join" "} Script accepts a filepath as input. Get-Content automatically splits input into an array of strings split on newlines in the source. From there I enter a foreach, cast to an array of characters and set that to $a, join that with tabs and print it. Next but still within the foreach I cast the character array to an integer array, appends a linefeed and joins again with a tab. Call looks like this: PS C:\PretendFolder> .\aoua.ps1 ".\aoua.txt" and here is an output sample # i n c l u d e < s t d i o . h > 35 105 110 99 108 117 100 101 32 60 115 116 100 105 111 46 104 62 10 10 i n t m a i n ( ) { 105 110 116 32 109 97 105 110 40 41 32 123 10 p r i n t f ( " h e l l o , w o r l d \ n " ) ; 32 32 32 32 112 114 105 110 116 102 40 34 104 101 108 108 111 44 32 119 111 114 108 100 92 110 34 41 59 10 r e t u r n 0 ; 32 32 32 32 114 101 116 117 114 110 32 48 59 10 } 125 10