sql functions deployed as files (not templates)