Removing dependency on output file