Extract RDD into dedicated file