added configurable file extensions