Correct usage of mediaPath