i need the algorithm for file allocation methods..