What Actually Determines a File's Type