root definitaion added in all files, now you can compile any input file independently without opening main.tex