Watch service, watch if directory changed - http://www.javacodegeeks.com/2012/02/java-7-watchservice.html Tips of using bytebuffer - http://worldmodscode.wordpress.com/2012/12/14/the-java-bytebuffer-a-crash-course/ path : ..\.\Java.txt absolute path : C:\Users\WINDOWS 8\workspace\Demo\..\.\Java.txt canonical path : C:\Users\WINDOWS 8\workspace\Java.txt Read more: http://javarevisited.blogspot.com/2014/08/difference-between-getpath-getabsolutepath-getcanonicalpath-java.html#ixzz3A8Zya6YG Jump to a position of a file, inputstream.skip() is faster than reader.skip(), and reader.skip() is faster than randomAccessFile. Java & Files: An Introduction - https://www.marcobehler.com/guides/java-files Modern file input/output with Java: Going fast with NIO and NIO.2 - https://blogs.oracle.com/javamagazine/post/java-nio-nio2-buffers-channels-async-future-callback