Same as the other place — should be able to use https://stackoverflow.com/questions/374326/get-filename-from-file-path-in-ruby/374393#374393 for this