It works for any file and depends on how you have configured your setup. Once processed files aren’t reprocessed unless you configure MCEBuddy to do so in the Monitor Location → Expert Settings (to avoid endless loops)
How commercials are detected and removed are based on your Comskip configuration. See this topic for more details: