Fixed the code to compile with the latest lambda build 72.

Added lambda based file reading utility which seems to perform similar to NIO version. Could be improved, lambda version is concise.

Using method references to keep the code concise.