Removing dependency on $adminFile variable needing to be present