Create functions file.