tokenize filename error and validate markdown and remove first var method def