### Question:
SimpleFileIO { @Nullable public static ICommonsList <String> getAllFileLines (@Nullable final File aFile, @Nonnull final Charset aCharset) { return aFile == null ? null : StreamHelper.readStreamLines (FileHelper.getInputStream (aFile), aCharset); } private  SimpleFileIO(); @Nullable static byte [] getAllFileBytes(@Nullable final File aFile); @Nullable static byte [] getAllFileBytes(@Nullable final Path aPath); static List <String> readAllLines(@Nonnull final Path aPath, @Nonnull final Charset aCharset); @Nullable static String getFileAsString(@Nullable final File aFile, @Nonnull final Charset aCharset); @Nullable static ICommonsList <String> getAllFileLines(@Nullable final File aFile, @Nonnull final Charset aCharset); static void readFileLines(@Nullable final File aFile, @Nonnull final Charset aCharset, @Nonnull final List <String> aTargetList); static void readFileLines(@Nullable final File aFile,
                                    @Nonnull final Charset aCharset,
                                    @Nonnull final Consumer <? super String> aConsumer); @Nonnull static ESuccess writeFile(@Nonnull final File aFile, @Nonnull final byte [] aContent); @Nonnull static ESuccess writeFile(@Nonnull final File aFile,
                                    @Nonnull final byte [] aContent,
                                    @Nonnegative final int nOffset,
                                    @Nonnegative final int nLength); @Nonnull static ESuccess writeFile(@Nonnull final File aFile, @Nonnull final String sContent, @Nonnull final Charset aCharset);  }### Answer:
@Test public void testReaFileLines () { assertNull (SimpleFileIO.getAllFileLines (null, StandardCharsets.ISO_8859_1)); assertNull (SimpleFileIO.getAllFileLines (new File ("ha ha said the clown"), StandardCharsets.ISO_8859_1)); final File aFile = ClassPathResource.getAsFile ("streamutils-lines"); assertTrue (aFile.exists ()); final ICommonsList <String> lines = SimpleFileIO.getAllFileLines (aFile, StandardCharsets.ISO_8859_1); assertEquals (10, lines.size ()); }