Support adding a resource to file storage.