add stripFilenameExtension documentation