Save functions into a separate SQL file