Make the GET file API more consistent.