bug: do nothing on paths with no extensions