Function resource_get_file_sources now returns an array with two arrays, the first contains the names, the second contains the ids