Added check for war filetype