Cleans up directory