something is wrong with the sys_file_reference query!