${filename} didn't make much sense, since that doesn't include the path components, and can be otherwise mangled.