add extension in ignored directory list
implement cram dir names if too long