Script to find the user of a file and permissions

I have a list of files in a.txt file. For each of the files listed in that file, I would like to obtain the owner of the file and also, the permissions associated with that file.
If possible, the group the owner belongs to as well.
Can someone help me with a script to find that out.

Assuming you use a Bourne-type shell and that a.txt is a normal unix format text file with each line containing only a filename.

cat a.txt | while read filename
do
       ls -lad "${filename}"
done

Or

while read filename
do
      ls -lad "${filename}"
done < a.txt