public static FileStream CreateFileForJobDefinition(string definitionName)
 {
     if (!string.IsNullOrEmpty(definitionName))
     {
         string str = ScheduledJobStore.CreateFilePathName(definitionName, "ScheduledJobDefinition");
         return(File.Create(str));
     }
     else
     {
         throw new PSArgumentException("definitionName");
     }
 }