Add csv loading functionality