file and msg added