Patent ID: 7603388

Claim:
A method to be executed at least in part in a computing device for processing data in a file prior to consumption by an application, the method comprising: receiving a request to open the file by the application, wherein the file comprises a plurality of data; determining discrete data units and relationships between the data units in the file about to be consumed by the application; creating a virtual object for each data unit and creating a class for each virtual object, wherein the class of each virtual object is based on one of a data type of each virtual object and a functionality of each virtual object; creating a virtual hierarchic structure of the virtual objects based on the determined relationships; and providing the virtual hierarchic structure for a pre-consumption operation, wherein the pre-consumption operation comprises verifying, prior to the consumption of the file by the application, that the plurality of data in the file is complete and is not operative cause, upon the consumption of the file by the application, an unintended operation of the application by inserting code into at least one virtual object of the virtual objects, wherein inserting the code into the at least one virtual object of the virtual objects comprises inserting the code that is operative to cause, upon execution by a computing device, subsequent code execution of at least one next virtual object in the virtual hierarchic structure.