added safe key
3864 Fix for square brackets in file name