- Implemented: using filename again if successfully set, ID otherwise