Door locks, trunk locks, ignition lock cylinders....

Yes- if you file the top pin down-

A- you have ruined that pin.

B- the bottom pin will still be sticking up past the shear area where the tumbler rotates, causing it to NOT rotate.