1. A method for generating storage policy for a storage system, the method comprising: receiving a target function applicable to a storage system having one or more data storage mediums, wherein the target function represents values for storage parameters associated with productivity or loss tolerance in the storage system; executing one or more simulation rules according to the received target function, wherein the simulation rules define which file attributes are to be generated and when said file attributes are to be generated; receiving one or more file-related storage operation requests or generating one or more file-related storage operation requests to access data on said one or more data storage mediums based on said one or more simulation rules; submitting said one or more storage operation requests to a storage system simulator for processing; analyzing simulation results obtained for the storage system, in response to the storage system processing said one or more storage operation requests; generating one or more storage policies, by a machine learning entity, in response to analyzing the simulation results; and selecting a storage policy, from among said one or more storage policies, that best matches a desired result defined by the target function.