Don't test for both containerName and file being empty, containerName will suffice