getbasedirectory