how to make exception for some extension file