create a type of WZ file depending on the input path name