removed dependency to *.nio.file