in reply to what is filehandle's data type
In Perl a file handle is a filehandle type, see Typeglobs and Filehandles
\*FH is a reference to a typeglob, see perlref