- added copying in every file - disasembled rootCmd into separate wrapper func - print usage if no file and no stdin