introducing BaseDirectory