Were he to be charged, it is likely to be under the Espionage Act, which makes prosecutes the gathering of national defence information if it is known to have been obtained illegally and could be used to the detriment of the US. It is also illegal to fail to return information to the US government.