Is there any way to query the OS for its max filename length? 255 is the most common - but indeed OSs such as ReiserFS and VMWare's built in FS have less characters.