adding directoryOption to getTimePointsData