debug and rewrite filelist view