To clean the inside of the rail I have a number of small diameter spiral wire brushes that I cut the loop off of it and chuck in a drill. Hold the rail in a vise and run a couple of passes thru the ends, finish up with an alcohol soaked pipe cleaner to clean out the filings.
Jerry