update for ignorefile to work