dshap: can "request" library write to a file after getting the resource ?