Adds resources and notes comments to file