I managed to do it like this:
func FilesDropped(files, screen): var file = File.new() file.open(files[0], 1) $FileText.text = file.get_as_text()
But i couldn't have done it without your help! Thank you!