Are you using an Android phone? The security of this may depend on factors such as:
- The network that you were connected to at the time of accidentally clicking. If you were connected to your home internet, then it is likely a secure connection, as opposed to public networks, devices on which may be exposed/vulnerable.
- The file manager app that you use on your phone. Was the file manager app that you use on your phone already installed when you first used your phone, or is it a third-party app that you downloaded from the Play Store (or equivalent) or the internet? The latter may be a source of concern, although this is may not necessarily be the case.
- Your phone itself, i.e. whether you have been experiencing any problems on your phone, either recently or in general. This includes problems such as viruses.
Generally speaking however, this was likely minor, and you should probably not worry too much about this.
I hope this helps!