getting mock going for FileEndpoint