add script that finds function name from file