File Name to Title

Have a look at the FAQs:

Did you know that there is a function that sounds almost like the topic of your thread: Convert>Filename-Tag