Here are my suggestions:
For camera: iphone 15
For battery: i think xiaomi 14 will last longer than iphone 15
Both can stay sharp in 3 years if keep with care
I myself have downloaded 4 different file manager apps despite the default one. Their straightforward navigations help in what i want to do. Sharing is way easier with them.