rubocop issue

W: Do not use prefix _ for a variable that is used.
rubocop issue

 W: Useless assignment to variable - rc.
rubocop issue

W: Unused method argument - file. If it's necessary, use _ or _file as an argument name to indicate that it won't be used.
rubocop issue

C: Align the parameters of a method call if they span more than one line.