removed dead code line, fixed file output not working with mulitple includes in one file
ready for 1.0.2
fixed file output crash on windows