Permissions - passing a file as the argument

this is the only way i can think of to do this but there must be a better way or else im gonna end up writing 200 lines of copy and pasting code.

echo ' READ WRITE EXECUTE'

own=$(ls -al $1 |cut -c2)

if ($own==r) then
first=yes
else
first=no
endif
echo $first

Im writing a script that takes a file as an argument and it basically checks the permissions the owner and group and everbody has for the file passed in.
I need the output to look something like this

READ WRITE EXECUTE
OWNER LEE.BALLANCORE YES YES NO
GROUP USERS YES NO NO
EVERYBODY NO NO NO

You may write a function to do this task and then call the function whenever required