Make sure the input_file is a Pathname.