Renames and arranges media