For macOS 10.10 and later. This script will rename the selected tracks in iTunes with their filenames (minus the extension).
Obviously, files must be local. There is no accounting for track numbers that may prefix the filename.
To remove characters from the beginning of tag text try using the script Remove n Characters From Front or Back.
Perhaps Also of Interest...
downloaded 1m 45s ago
Set choice of various number tags of selected tracks incrementally
downloaded 7m 50s ago
Remove iTunes tracks disassociated from files
downloaded 15m 4s ago
Applet assists with swapping, copying, appending data between track tags
downloaded 31m 47s ago
Export artwork of selected tracks to parent or specified folder
downloaded 33m 38s ago
Finds and displays any empty folders in the iTunes Media folder
downloaded 37m 34s ago
Edit artist/composer-related tags text for sorting purposes