If a file is not found there, then the installation directory is checked. The user directory is for the user account that is running the program and this is where the program looks first. Files for Stellarium can be located in two different places, either the user directory or the installation directory.
Stellarium is a program that requires many data files.