Provide the directory because the permission partial is used by the batch controller and the generic_file controller