Here is how my thesis is organized:
If you want to have all of it one file, please take it from here.