added ignoreFiles option