To detect whether the user of your software has changed anything, you can calculate a hash code on your loaded CSV data and compare it to detect whether or not the table has modified content. A less burdensome choice is an edit button / menu option and then assume that use of de button / menu option automatically leads to the rewriting of the data that has been or is not changed in order to limit the required resources. In that case if the files are stored centrally, you can make the choose to carry out the hascode check there and simply ignore unchanged CSV data.