Simplify filename regex with lookaround.