Adding ResourceManager to file