SynapseClientImpl.getFileEntityIdWithSameName throws NotFoundException if no file already in directory with same name. Constants in that method moved to WebConstants.java.