You can't use CFML tags within UDF's (User Defined Functions). But you can still perform like file operations, like data retrieval, and even CFX type add-on calls. How? Using COM or Java via the CreateObject() function (the function equivalent of ) within your UDF code. (Applies to: ColdFusion 5)