Converts text file to one time pad