1. A method for managing files with a storage device, the method comprising: in a host to which a storage device is operatively coupled, wherein the storage device includes a cache for storing one or more discardable files: identifying a file to be uploaded to an external location; determining whether sufficient free space exists in the cache to pre-stage the file for upload to the external location; and storing the file in the cache upon determining that sufficient free space exists in the cache to pre-stage the file for upload to the external location, wherein pre-staging prepares a file for opportunistically uploading such file in accordance with an uploading policy.