simplified creation of target file