fixed major issues with file diff