it happens every time you download from internet download manager?
try restarting and deleting the same file? (before opening it from any player)
exit the IDM and try deleting the file.. (kill the idm process from the task manager, it maybe still using the file)