Patent ID: 8272026

Claim:
A method comprising: accessing a dynamic policy for purging files from a computer, wherein the dynamic policy comprises a first metric and a second metric; assigning first scores to one or more of a plurality of files, wherein the first scores are assigned using the first metric; assigning second scores to the one or more of the plurality of files, wherein the second scores are assigned using the second metric; calculating a purge score of the one or more the plurality of files, wherein the purge score of each of the one or more of the plurality of files is based on the first scores and the second scores of the one or more of the plurality of files, a first weight is associated with the first metric, a second weight is associated with the second metric, the calculating the purge score comprises calculating a weighted average of the first scores and the second scores of the one or more of the plurality of files, and the calculating the weighted average uses the first weight for the first scores, and the second weight for the second scores, for the each of the one or more of the plurality of files; and identifying at least one file of the plurality of files to be purged by applying the dynamic policy to the plurality of files, wherein the applying uses the purge score of the one or more of the plurality of files purging said at least one file.