strip.filename() now takes general cases