You can probably store the filename so you don't have to call `File.join` with the same arguments twice.