add samples files for tests
extract partial from files index view
sort/filter files by ajax
test suite for the files view