Exclude certain file types

Is there a way to do this already? :)

If the user does not want to clean.. say .INI files..

Can he exclude "*.ini" somewhere?