Use relative paths for filename attribute in class node.