Added proper error handling for missing firework files.