Using File.toPath to convert to NIO files