Access of data in files is extremely slow compared to access of data in main memory. This means that many of the algorithms and data structures for data resident in memory are not appropriate for accessing data in files. File structures relates to algorithms and matching data organization and data access patterns for use with files.