Removed command-line argument count validation. Replaced use of translate with naive approach
Output file is mandatory. Processes file line by line