Remove commented lines and tmp_file path after successfully testing