Added duplicate file checking for submissions and tests