More clean up for _import_ file.

io file is removed too.
Also a method is added for saving data properties into csv files.