Comparing files with a specific structure in java
<p>I have two txt files with a specific structure. There should be som empty rows and rows with some data. Something like this:</p>

<pre><code>@RELATION Table

@RECORD 1
ID '5'
SOMETHING '10'
</code></pre>

<p>The point is, there can be 10 'empty' rows in one file and there can none in second and if the data equals, it should not matter. Any  ideas how to effectively do it with big files ?</p>