Added dir read functionality & basic checksum logic