When deleting files from projects, Figma doesn’t show a confirmation dialog, making it too easy. It’s even possible to mistap the Delete/Backspace key in the keyboard and the file gets deleted without confirmation. When deleting the file when it’s open, from its own central menu, a confirmation modal appears, this can be used in other instances as well.
Given that deleting a file is a disruptive action for most organisations and professionals, please add a confirmation modal whenever a user deletes a file, wherever in the app.