I am trying to scan through text files and add them to a map, the map and everything is working. However, the scanner seems to be stopping when it comes to a \'enter\' i
String contentsOfWholeFile = new Scanner(file).useDelimiter("\\Z").next();