Use resources instead of filenames.