Printer freezes, Selecting print Micro Sd card

So I am using Simplify3D to slice .stl files and I am getting an issue with the printer freezing. Here is the best variables I can give to as to what might be the issue:
When I go to play->ext and select the file at the bottom of a long list of files, it goes to the main menu (watch, play jog… etc) the menu freezes and I cannot do anything. If I turn the printer off and on about 2-4 times and redo the same process it prints.
I also can resolve this problem by carefully arranging the .gcode in the middle of the list of other .gcodes.
The length of the .gcode name is more than 20 characters long. I am not sure if the length of the name in the .gcode can cause problems. There is a lot of files stored on this Micro SD card and the file lengths are very long.
Hardware wise I am using a viki 2 lcd screen, an azteeg mini - latest version and SanDisk 4gb micro SD HcI 4. Any help to why the firmware will not print files would be helpful.

Imported from wikidot

long file names, filenames with weird characters, and folders with too many files, are not supported.
make sure you cleanup your sd card regularly, and start using shorter filenames
this is a microcontroller, not your computer :slight_smile:

Yes, and note that spaces in file names are apparently “weird characters”. That’s at the very least annoying because it both means that I have to remember to name things without spaces and because spaces make the names less readable.

Perhaps there is a page in the smoothie documentation that lists the valid characters?

Yes, spaces work with some parts of smoothie, but don’t with some others.
I don’t think we have any documentation on what works and doesn’t. A-Z0-9 works for sure :slight_smile:

Thanks guys that helps a ton.