change parameter name to declare path is File