from simfile.dir import SimfileDirectory simfile_dir = SimfileDirectory(R"C:\StepMania\Songs\My Pack\My Song") assets = simfile_dir.assets() assert assets.music, "No music file" with open(assets.music, "rb") as audio_file: ...