added cat statements in filetests