Returns a {@link File} object representing this path. Where this {@code Path} is associated with the default provider, then this method isequivalent to returning a {@code File} object constructed with the{@code String} representation of this path.
If this path was created by invoking the {@code File} {@link File#toPath toPath} method then there is no guarantee that the {@code File} object returned by this method is {@link #equals equal} to theoriginal {@code File}.
@return a {@code File} object representing this path
@throws UnsupportedOperationException if this {@code Path} is not associated with the default provider