finalized

support csv file
remove empty lines