merged submodule and file status into a single Status enum