Improved crypto import. Now check to see if file exists.