WIP File Endpoint

From #6818.