added: filesize calculation

+ imrpoved: color of error messages