add a resource file