Add option for stripping file extensions