Change function parameter from file to input_file.