No - there isn't. If you are using a formula for the file name, you should be able to put this together in another form field - are you using InfoPath / SharePoint 2010? If so, there are some new functions in the rules that get the library for the form that might help you.