initial csv preprocessing for fril