1. A tape drive system server comprising: a non-volatile memory configured as a cache memory to store data files, at least part of the cache memory comprising a first region that is managed using a First In First Out (FIFO) policy management and a second region that is managed using a Least Recently Used (LRU) policy management; a file system interface configured to interact with data files stored on a tape drive system; and an interface configured to allow one or more remote systems reading and writing data stored on the storage means and/or on the cache memory; wherein the server is configured to: receive from the one or more remote systems a write request for writing one or more data files to the tape drive system and to the cache memory; analyze the write request to identify attributes associated with the one or more data files; determine, based on the attributes, to write the one or more data files to the first region or the second region by the one or more remote systems; the storage of files in the first and second regions is performed in accordance with a set of rules for cache capacity management, wherein the set of rules comprises at least the following rules: i) if the first region is full, then oldest files of the second set are copied to the storage and evicted from the first region; ii) if the first region is full and the second region has free capacity, then the first region gains a given percentage of the free capacity of the second region; iii) if the second region is full, then the files of the second set with a least number of access and an oldest last-access time are copied to the storage and evicted from the second region; and iv) if the second region is full and the first region has free capacity, then the second region gains a given percentage of the free capacity of the first region; store the one or more data files to the first region or the second region based on the attributes; and store an identified data file from the first region or the second region to the tape drive system in accordance to the FIFO policy management or the LRU policy management.