better swf filename parsing (unit tests only)