Either in R or in Python, if the file name ends with a tilde (`~`), it should be excluded from the final data set.