A Java version of the UNIX tail command using NIO.2