echo files in while loop