public static Optional < String > getStringAsOptWithFilePath ( String filePath , String charsetName ) { return JMOptional . getOptional ( JMFiles . readString ( filePath , charsetName ) ) ; }
Gets string as opt with file path .