facing error while deleting file using Delete file activity.

it throws error that
Microsoft.Flow.RPA.Desktop.Modules.SDK.ActionException: Can't delete file C:\Recon\Data\Input\09_2022\a.xlsx --->
System.IO.IOException: The process cannot access the file 'C:\Recon\Data\Input\09_2022\a.xlsx'
because it is being used by another process.
also file is already available to delete

can you please help on this