implement -I to ignore some files
bug #28
fix clear_elements()