Add call to file endpoint