class IOUtils {

    public static String[] readLines(File file) throws IOException {
        if (file == null || !file.exists() || !file.canRead())
            return new String[0];

        return readLines(new FileInputStream(file));
    }

    private  IOUtils();

}