Implement file_download method. Closes #1