Fixing bug in after_photofy: when no parent field file exist then it should not try reading and throwing errors