files are not corrupted now and we are able to get the data