Update checkEnv

File not found fixed for fileOwnershipt