add command listfiles

yet another commit to resolve #44