ignore some directories and hidden files