extend edit and list command to also operate insert-files