fixes double downloads if file is already present