Allocate clusters if needed(when writing). Deallocated Directory tree. Changed function names