Added check for if R1 and R2 files are the same name.