We need to validate the file status in the index

Going forward with #10