Not downloading files off server?

Hi all.

Very N00by question here. I’m working on a mod and when I join, it says 32files needed from server, but doesn’t download them.

local files = file.Find("/../models/*")
for k,v in pairs(files) do
	resource.AddFile("models/" .. v);
local files = file.Find("/../materials/models/*")
for k,v in pairs(files) do
	resource.AddFile("materials/models/" .. v);
local files = file.Find("/../particles/*")
for k,v in pairs(files) do
	resource.AddFile("particles/" .. v);

Thats the code that should make it download and its in addons\mymod\lua\autorun\server\file.lua
Any ideas?

Thanks, Exextatic

Fixed now.
I should have been using

resource.AddFile( "model/material/whatever" );