Read from file
Fix bug where string isn't correctly converted when length isn't a multiple of 3

This is caused because of how the data is stored into arrays.