Patent ID: 8346823

Claim:
A method of storing and organizing files on a storage medium via a file system, comprising: reserving on the storage medium a non-fragmented segment for taking up a file by storing within the file system an identification of an address range of the segment, wherein the reserving step is implemented as a software layer that is built on the file system; writing the file within the segment and storing information in the file system, said information being suited to find the file; appending additional data to the file that is written within the segment to obtain an enlarged file in the segment; storing a header of the enlarged file in the segment and indicating an end of the enlarged file within the header of the enlarged file; wherein a size of the segment is derived from statistically identified file sizes of a kind of the file by selecting an option selected from the group consisting of: i) the kind of the file is defined by a format of the file in which the file is encoded, ii) the kind of the file is defined by a task to which the file contributes, and iii) the size of the segment is an average size that is obtained by the kind of the file after a defined time; and setting the size of the segment based on an average size that is obtained by a plurality of files after a defined time; wherein the plurality of files are located outside the file system and are all of a kind that is the same as the kind of the file that is to be written within the segment.