Merge all functions in one file.