Hi @Mahesh Babu Uppala ,
You can use the below command to delete the particular file
dbutils.fs.rm("path of the file")
If you want to delete the entire directory where it consists of sub-directories and files, you can use the below command to delete the files recursively
dbutils.fs.rm("path of the folder",True)
After executing the above commands you will be getting the output below, to confirm file/directory got deleted successfully.
"Boolean = true"
Happy Learning!!
Thanks for reading and like if this is useful and for improvements or feedback please comment.