Thanks, but this was for iOS so it's not necessarily the same thing.
And the solution is user option but not if you are dogmatic....The problem is simple: you cannot have both file and URL at the same time. You can also not have both relative and absolute locations....