version that works only with file with in domain data;
held out data throwing exceptions