I guess you can just do:

```ruby
fpath_entry_filename = path.split("\\").last
```