If optional destinal file is passed as arument, delete it before appending compiled output