If a new local file is assigned as attachment to a kitem and the file does not exist, there is not error thrown. This should be improved.