Added check for installing non existing files.