use nio.path instead of file