There are two main options:
I do not believe that there is a big reason to prefer one over the other. The main difference is that you use the file name to access the assets, while you use the automatically assigned resource identifier for the resources. This is a preference question that you like best.
source share