database folder can be relative path