handle punctuation and missing files