Correctly exclude rc file