Provide a method for getting the script file for a given database object