Encapsulate is_modified function into FileInfo
Improve messages