factor ViewFilePanel out of vcs module