The following line uses the secure copy protocol to copy a file from an aws instance to the current (".") folder of a local machine.
It is extremely important to add the period after the /path/to/file. Note the blank space between the /path/to/file and the period.
https://stackoverflow.com/questions/9441008/how-can-i-download-a-file-from-ec2