CORE-4000:added a function that can be used to get the base directory for trash