It happens often that I have to insert some audio files (most of the time mp3) in a project and I copy them from a folder of the Mac and paste them in the directory tree of Phpstorm. The last time I did this, Phpstorm tried to automatically show the file in an editor panel, showing an error that it was using a wrong encoding. Besides this, Phpstorm kind of crashed. And I couldn't even close the panel with the mp3 file. I had to force quit phpstorm, but when I opened it again it opened the same session with the same panels, so it stuck again. In the end I solved by deleting the file "workspace.xml" in the .idea folder of the project.
Is there any way to keep Phpstorm from opening these files?