Rename file to match scopes