Fix bugs and implement files view object.