Change comma in different file formats