Reseting directory