TIdServeFile is a Cardinal function type that represents the function used to perform file transmission. TIdServeFile abstracts the ServeFile function under Windows NT that is optimized for sequential read-only access. GServeFile is the application global instance of the function for Indy.