Updated delete to handle file paths