I see. It seems like the easiest way to fix it for the time being is just to edit the titles of files that have a # in their name. It seems that it might have a similar issue with several other symbols as well, as I also got errors when trying to open files that had said other symbols.
Thank you for that information.