Local working with output file