Io Recipes Prefer System.lineSeparator() Prefer java.nio.charset.StandardCharsets Prefer java.nio.file.Files Relocate org.apache.commons:commons-io to commons-io:commons-io Use IOUtils method that include their charset encoding