I have a code where I need to delete all the txt files in the main directory \' I have done a loop and in the loop there is if command if [ -f $file] then fi now I need anot