Added status to Result struct and formated file