If comparing filesize/dates doesnt work you could try seeing functionality differences. Back up the file over ftp (/ni-rt/system/programnamehere.out). Then undeploy, redownload the new code.
A potential caveat is that the code may be different but be functionally equivalent.
In the future, version control would solve these problems
