Created handlers for downloading and saving the remote files locally