RM 2.0 Mass Import of files in a folder

one question, i am currently working with a friend of me on a mass import script for xenforo -> currently planned import it to the database (xf_rm_resource,xf_rm_resource_version and xf_rm_resource_update) and move the files in the downloads folder, now we have only one problem, we dont know how the name "27-efc36308e360d6dacf5b83c36845793a.data" is builded the 27 is the resource id and the .data was replaced thats all we know, so how was the "efc36308e360d6dacf5b83c36845793a" build md5 compiled?

Hope someone can help me,
have a nice day,