delete file keys from the correct location
always return normalized path
del share keys from correct location
only escape glob pattern