Patent ID: 8463828

Claim:
A computer program product embodied on a non-transitory computer readable medium, comprising: computer code for identifying a plurality of files located on a multi-tenant on-demand database system, each of the files below a threshold size; computer code for concatenating the files to create a single concatenated file; computer code for storing the single concatenated file in a file system of the multi-tenant on-demand database system; computer code for, in response to the storage of the single concatenated file in the file system, deleting the files and storing a pointer to each of the files in a database separate from the file system; computer code for receiving a request to delete one of the files; and computer code for storing a flag in an entry of the database associated with the one of the files, in response to the request; computer code for determining whether flagged files included in the single concatenated file are of at least a determined size; and computer code for, in response to a determination that the flagged files included in the single concatenated file are of at least the predetermined size, concatenating the single concatenated file with another single concatenated file or at least one other file located in the multi-tenant on-demand database system that is below the threshold size.