Added support for profiling and reporting included files (this should be made optional though!)