the hooks already exist, just need to define the argument and pass thru to `_get_filepath_or_buffer`