Manage Media Files in C++