What is the use of the "read" method in a Python file?