change seperator for files to comma
update for new seperator and taking more then 5 files