improved fileLoader for .csv files