Reads the contents of the text file file.
file
String readTextFile(String file) => File(file).readAsStringSync();