in reply to Re: Deleting or unlinking a file
in thread Deleting or unlinking a file

It is entering the if loop for sure,I can see a debug print statement I added getting printed but the actual file is still not getting deleted.