Debugged random file testing.

Also added byte difference percentage calculator.