Added safe delete on error for audio file