implement Files.readAllLines() in the setEnvironment() function