better handling of temporary files
forward non-existing files as empty files