Why doesn't the find() method work in this scenario? : <p>Contents of file2.txt:</p>

<pre><code>zalgoalpha
beta
</code></pre>

<p>My code:</p>

<pre><code>file = open("file2.txt", "r", encoding = "utf-8")
print(file.read())
print(file.read().find("beta"))
</code></pre>

<p>Why does the second print convey "-1" ("beta" doesn't exist), even though it's right in the file, at index 11?</p>
