Move constants from GET_TYPE to OC\Files so they can be autoloaded

@bantu @DeepDiver1975 

Related #6101