The most important thing is understanding how a chain works: how changes in the top plate cutting edge, side plate cutting edge, depth gauge, gullet, etc., affect cutting. To get there, you have to file
intentionally, to obtain specific angles, profiles, etc. That is different than just running the file across with some guide and taking what you get.
It takes some time, experience, and just a little bit of knowledge to gain skill at it. Sharp files really help (buy them by the dozen, and don't be afraid to 'retire' them when they stop cutting well).
I recommend using one of the clamp-on file guides, sold by Granberg, Oregon, STIHL, etc. These mount on your guide bar, and let you 'dial in' different angles, so that you know you are getting
consistent, and
accurate angles. Then you can compare which angles work best for you, by buying 3 chains, for example; sharpening each at a different set of angles; and comparing them
side-by-side in the same wood to see what works best for you.
There are many versions, make sure that you get one that will also work with your larger pitch chains, e.g.
https://www.ebay.com/itm/Tecomec-MS...ar-Mount-replaces-Oregon-557849-/382933160756
Sometimes, the sharp, fine edges will dull faster too! Note that even 'razor sharp' chains will cut differently in different types of wood, dry versus green wood, and with different power saws. For example, you can lower the depth gauges more when cutting green spruce or pine, making bigger chunks, than you can cutting dry, aged, cherry or oak. (But no reason you can't have different chains for different cutting situations!).
https://www.arboristsite.com/community/threads/granberg-file-n-joint-revisited.193630/
Philbert