Avoid ParcelableArrayList and support URI for file