The blank file error was caused by an invalid pid in the test case. Fixed now