fix disableForPaths for new files