Provide file as parameter of functions.