Fixed a bug in searchDir(name). Modified swithcBlock utility function to handle allocation switching or non allocation. Added delete function. Not fully debugged.
Modified switchBlock back to without allocation status. Debugged delete function.