Take directory as location