Refactor changing file while playback
Refactor changing file while playback