Check that the target file is created