metasploit-framework/app/validators/metasploit/framework
..
executable_path_validator.rb
file_path_validator.rb