Created by: mrnugget
This fixes #7064 by making sure that the filename passed into tmpfileDiff is actually a filename and not a full path.
filename
tmpfileDiff