attempts to check files expected from the metadata for validity . if the files do not exist , they will be allocated when this function is called . concode_field_sep Path destinationFolder concode_elem_sep P2PMetadata metadata concode_elem_sep P2PFile[] files concode_elem_sep AcquisitionStatus status concode_field_sep boolean setChunkData concode_elem_sep int numChunks concode_elem_sep byte[] getChunkData concode_elem_sep int numFiles concode_elem_sep void prepareFiles concode_elem_sep void prepareDirectory concode_elem_sep void createDirectory concode_elem_sep boolean complete concode_elem_sep HashAlgorithm makeHashAlgorithm
void function ( ) { prepareDirectory ( ) ; HashAlgorithm loc0 = makeHashAlgorithm ( metadata . hashType ) ; prepareFiles ( loc0 ) ; }