adds try-catch to deal with non-existent input_file
On view computation, the view computer is now a class instance