removed empty lines from destination file when creating a new partial