I want to compare 2 text files and get an output saying they're the same or different. compare() looks like the right function, but it doesn't always seem to work for me. I have 2 files that are different, but compare() is telling me they're the same. Are there any good ways to debug such a problem? I've checked that I'm inputting the correct files, but how can I find out why compare() doesn't like them?