added build in function path.extname