add a file record my idea about the design