Patent ID: 8200626

Claim:
A system for mobile device file management, comprising: a processor on a mobile device; a client application that, when executed by the processor, receives a request for a file associated with a first file identifier, determines whether the file is stored in a file system in the mobile device, retrieves the file via over-the-air communication in response to a determination that the file is not stored in the file system, parses the retrieved file to identify a dependent file associated with a second file identifier, retrieves the dependent file via over-the-air communication, stores the retrieved file and the retrieved dependent file with storage information in the file system, provides the stored file that comprises the stored dependent file for presentation on a user interface on the mobile device, and creates a file index that references the provided file and the provided dependent file in the file system and a relationship index that references the provided file and the provided dependent file in the file system and comprises a relationship between the provided file and the provided dependent file; and a background application that, when executed by the processor, determines whether the client application is inactive, determines whether a current time and the storage information indicate to delete the provided file in response to a determination that the client application is inactive, deletes the provided file from the relationship index in response to a determination that the current time and the storage information indicate to delete the provided file from the file system, deletes any files absent from the relationship index from the file index and the file system, determines whether an entry in the relationship index is absent from the file index and adds the entry to the file index in response to a determination that the entry in the relationship index is absent from the file index, determines whether a specific file listed as an entry in the relationship index is absent from the file system, retrieves the specific file via over-the-air communication and a communication component in response to a determination that the file listed as the entry in the relationship index is absent from the file system, and stores the retrieved specific file in the file system.