cleaning up files and additional validation for lat, and long