IMCE: Prevent deletion if file is in use Does any one know of a way to prevent a file from being deleted through IMCE if the file is in use?  I saw this feature requested http://drupal.org/node/628246 and there is a comment to state that this feature is already in dev but I'm not finding that this is the case.
I'm not familiar with IMCE but Drupal core provides a file_usage table that is for locking/unlocking files. These are the functions used to interact with it:

file_usage_add()
file_usage_delete()
file_usage_list()


Drupal's file_delete() then checks the usage table before deleting a file.