Presumably you got some sort of avast alert, possibly from the DeepScreen. The next presumption (depending on avast version and settings) is that it was sent to the virus chest ?
You will have to deal with the detection first, if it was sent to the virus chest you can open the virus chest and Restore the file and also exclude it.
If this is an old copy of Magic Folders which I suspect it is, it is probably unsigned (I had the same issue on old copies of MS Excel and Word), adding them to the exclusions was enough. I also have an old password finder that is considered a PUP, that too had to be added to the exclusions. Obviously you have to be sure it isn't infected, likely given it is an old file.
What version of avast are you running (latest is 11.1.2241) ?