Can extract file for an endpoint
Get some edge cases tested