[Compiler] file.h: Add definition for rootObject()
Adds the missing definition for rootObject() and setRootObject().