Intelligent Malware Detection Using File-To-File Relations And Enhancing Its Security Against Adversarial Attacks