parameterized directory namer