Why this function returns this value instead of keeping it in a secret global variable? Is there any use case when the user of this function will need the name of this file?