This check is not quite appropriate... Looking at the return types of `file_delete()`, it returns `TRUE` on success, `FALSE` on error, and an _array_ describing usages if there are any usages registered...  The array would likely evaluate to `TRUE`, 'cause PHP.