ignore option now accept pattern for files and directories