switch to TextInputFormat and get filename using built-in API calls
switch to TextInputFormat and get filename using built-in API calls
use WholeFileInputFormat to ensure entire file parsed in single batch