adding sudo to file command