removed "openType" parameter for opening files
refactored "get_pointer_param" to "get_named_param" to allow using it for register names as well