code changed to download files from facebook