Let's start taking for file existence.
So you and we can do this by using will start that function.
So uh if uh w e and then the file name.
Uh and then we can check for that if that is not equal to nil.
So if it is not then we can go into different channels and check if we.
This is not exist.
So uh.
So he can check if the file exists or not.
So if it's not existing we can say that um forms
and if the file exist we can see it too.
So this is how you can check for file existence.
The next step is to use this function to check for existence here.
So I'm going to create a new
uh let's say check.
Existence and then I'm going to give the file name and then I'm going to store it in a variable called
in existence.
So this text file in existence if it's true we can simply print it due to the print and then one exist.
So since our file is present I'm going to run this and check if it works properly or not.
So go.
Um I mean go
to
work so through this is again
okay.
So now it's waiting for the connection.
But the idea is that it is a
okay.
So the idea is that if the file exists it will turn to and we will simply print out existence of long
distance here in the next lecture we will proceed for the.