Add FileOutput, Add exception catch at manager and main