Hi David my name is Ferdinand, I am an Independent Advisor.
You can try to move the file from the folder where OneDrive is being Synced so you can remove the warning.
May I know what type of file you are getting warning from? a screenshot of the error or warning would be enough. Thanks!