Template:Client file functions