Change resource name for file