Some nice features in Java 7 can be found in the nio package and in this tutorial we'll see how to retrieve and work with some basic file attributes.