You can do this using SCP:
scp -i demo.pem name@ec2ip:/path/to/file
where:
demo.pem is your PEM key
Name is your login username
ec2ip is the public IP of the instance
/path/to/file is the location where the file is stored
This command will copy the file to your local folder