override modified only if a non-markdown file was modified