Added test file to test patterns
Fixed file format
Added ? to marker handling