CEHCIG-800 invalid file fixed
The previous logic would identify a file's hash had changed. But then you would refresh the page and it would say the file was unknown. This was because it wasn't checking to see if the file was already invalid. Then lot of other scenarios showed up so decided to re-write the whole invalid checking. Also cleaned the enums.