forgot to add trailing slash to ignore directories