Input from resource file