lCase SERVERFILENAME is undefined in CFFILE

I try to convert the name of a photo to lower case before inserting it in the table. So I tried:


<cfif Len( Trim( photo_name ))>
  <cfset file_name = lCase( cffile.ServerFileName.cffile.ServerFileExt ) />
</cfif>

But this gives me the error as in the title:

SERVERFILENAME is undefined in CFFILE

This is the insert:


<cfquery datasource="#Application.dsn#">
  INSERT INTO
    test_pictures
    (photo)
  VALUES
    ( '#file_name#' )
</cfquery>