basically what ls >> file.txt does