You can use the substr Variable formatting function, like
{File.Name|substr:0,3}
Please see the help topics on Variables in the IMatch Help system for all available formatting functions, examples on how to use them etc.
Tip: Use the VarToy app in the App Panel to try out your variables.