trim media folder