File:flush()method
Ensures that all recently written data is saved to the file.
Return value
This method returns no value.