Find a file by its name
LOADLIB "mod::publisher/lib/publisher.whlib"; RECORD FUNCTION FindFileByName(INTEGER parentid, STRING filename)
ID of the folder to look in
Name (case-insensitive) of the file to look for
The requested file record, or a non-existing record if the file does not exist
Retrieve a file record from the FILES table, based on the ID of its parent folder and its name.