a method is disclosed for recovering data associated with a damaged file stored in a nand gate array memory . the method includes the steps of : identifying all meta data associated with the damaged file ; identifying each logical block address of all identified meta data ; collecting all physical block addresses associated with one of the identified logical block addresses or the identified meta data ; counting in a replace table a number of matches to a physical block address of the damaged file for each physical block address of the damaged file ; choosing a block in a linked list that corresponds to the physical block address of the block in the linked list ; and linking all chosen blocks to form a replicated file .