Yes, the whitelist is based on file content, not just the filename.