support multiple schema generator

change the internal parse into public
add code to loop multiple file