removing check for from attr if non-parent file