fixed sudo is_file functions
perltidy