Renamed the get current working directory function to getCurrentWorkingDirectory