added test for huge resource file
improved --itms switch, empty items ;; or final semicolon allowed