generate plist with format 3; fix file name and dir issue to make good usability