replaced hard coded stl file IO with cli arguments. Improved stl file IO error handling