Add a shortcut method for setting files.