StandardCharsets and Charset (an older class), for encodings of text files. the File.toPath method, which lets older code interact nicely with the newer java.nio ...
www.javapractices.com