fails if there is not such directory