Added size unit transform for file
Cleaning for media api