changed Record to be interface, implement file delete