Implement recordSource and getLastRecord for file destination.