extended the input format for text sources to accept any FileInputFormat[LongWritable, Text]
avoiding the serialisation of some variables