give the destination directory all of the permissions
extract latest file in bucket logic