it’s because the new line difference between Unix and windows , the easiest fix it run this command

dos2unix filename