change for QFileInfo
add unit test