Add tests for getting formated data directories and file names