for file in $2*.cpp
do
  echo "$file"
  [[ -e "$file" ]] || break
  output_file="$(basename -s .cpp "$file")"

  echo "$output_file";
  touch $2$output_file'.py';
done;