Version 0.06: improved filename recognition (big thanks to stickell)