fix single file case, exlude.  Add some logging