if (file.getName().endsWith("stdout")) {
// there has to be some content in stdout file
assertThat("there has to be content in stdout file", file.length(), greaterThan(0l));
if (file.getName().equals("Container.stdout")) {
Scanner scanner = new Scanner(file);
String content = scanner.useDelimiter("\\A").next();
scanner.close();
// check that we have a simple timestamp
assertThat("content doesn't look like timestamp", content.length(), greaterThan(10));
assertThat("content doesn't look like timestamp", content.length(), lessThan(40));
}