Added ability to deal with multiple functions in one file.